package com.hqyj.am.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Calendar;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author rock
 * @since 2022-08-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WorkNote extends MyPage implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "work_id", type = IdType.AUTO)
    private Integer workId;

    private Integer userId;

    private String userName;

    private LocalDate date;//打卡日期

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime workTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime quitTime;

    private Integer late;//迟到次数

    private Integer early;//早退次数

    private Integer lack;//缺卡次数

}
